﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.ComponentModel;
using Sendz.Domain;
using Sendz.Validators;

namespace Sendz.WebUI.Models
{
    public class ResetPasswordViewModel
    {
        [DisplayName("Password")]
        [Required(ErrorMessage = "Please enter a password")]
        public string Password { get; set; }
        [DisplayName("Confirm the Password")]
        [Required(ErrorMessage = "Please confirm your password")]
        [MustMatch("Password", ErrorMessage = "The confirmed password does not match the selected password")]
        public string ConfirmPassword { get; set; }
        public Guid UserKey { get; set; }
    }
}